package cn.zhangxin.pethome.system.systemdictionarytype.mapper;

import cn.zhangxin.pethome.base.mapper.BaseMapper;
import cn.zhangxin.pethome.system.systemdictionarydetail.domain.Systemdictionarydetail;
import cn.zhangxin.pethome.system.systemdictionarytype.domain.Systemdictionarytype;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SystemdictionarytypeMapper extends BaseMapper<Systemdictionarytype> {
    //通过品牌类型查询产品
    List<Systemdictionarydetail> findBySystemdictionarydetail(Long id);
    //通过品牌类型查询产品条数
    Long findBySystemdictionarydetailCount(Long id);
}
